<?php
namespace app\setting\controller;
use think\Request;
use think\Controller;
class ApiSetting extends Controller
{
    public function itemInfo()
    {
    	$settingsInfo = [];
        $settings = db('BaseSettings')->select();
        foreach ($settings as $k => $v){
            $settingsInfo[$v['key']] = $v['val'];
        }
        return jsonSuccess('',$settingsInfo);
    }
}